package hhm.android.my

import android.view.View
import android.widget.ImageView
import android.widget.RelativeLayout
import android.widget.TextView
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.recyclerview.widget.RecyclerView
import com.mcxtzhang.swipemenulib.SwipeMenuLayout

open class MessageListViewHolder(v: View) : RecyclerView.ViewHolder(v) {
    val sml: SwipeMenuLayout = v.findViewById(R.id.item_message_list_sml)
    val rl: RelativeLayout = v.findViewById(R.id.item_message_list_rl)
    val name: TextView = v.findViewById(R.id.item_message_list_title)
    val iv: ImageView = v.findViewById(R.id.item_message_list_iv)
    val content: TextView = v.findViewById(R.id.item_message_list_content)
    val time: TextView = v.findViewById(R.id.item_message_list_time)
    val line: View = v.findViewById(R.id.item_message_list_bottom_line)
    val hasRead: TextView = v.findViewById(R.id.item_message_list_set_read)
    val delete: TextView = v.findViewById(R.id.item_message_list_delete)
    val num: TextView = v.findViewById(R.id.item_message_list_num)
}